import { storiesOf } from '@storybook/vue'

storiesOf('单选框 Radio', module)
  .add('单选框', () => ({
    template: '<div class="mc">\
      <cl-radio v-model="data" label="1">未选中</cl-radio>\
      <cl-radio v-model="data" label="2">选中</cl-radio>\
      <cl-radio v-model="data" disabled label="1">未选中禁选</cl-radio>\
      <cl-radio v-model="data" disabled label="2">选中禁选</cl-radio>\
    </div>',
    data () {
      return {
        data: '2'
      }
    }
  }))
